//
//  AIGirlMessageModel.swift
//  AIGirl
//
//  Created by Rae on 2024/1/2.
//

import Foundation

struct AIGirlChatRoomModel: HandyJSON {
    var background: String       = ""
    var coin: Int      = 0
    var girlName: String       = ""
    var level: String      = ""
    var photoId: Int = 0
}

struct AIGirlMessageCateModel {
    var title: String       = ""
    var imgStr: String      = ""
}

struct AIGirlGiftModel: HandyJSON {
    var gifts: [AIGirlGiftItemModel] = [AIGirlGiftItemModel]()
}

struct AIGirlGiftItemModel: HandyJSON {
    var gifUrl: String = "" //gif图 新礼物为svga
    var id: Int = 0
    var name: String = ""
    var preUrl: String = "" //预览图
    var price: String = ""
    var isSel: Bool = false
}

struct AIGirlUserInterestModel: HandyJSON {
    var interests: [AIGirlUserInterestItemModel] = [AIGirlUserInterestItemModel]()
}

struct AIGirlUserInterestItemModel: HandyJSON {
    var icon: String = ""
    var id: Int = 0
    var name: String = ""
    var recommendationSpeech: String = ""
    var img: String = ""
    var isSel: Bool = false
}

struct AIGirlMessageModel: HandyJSON {
    var num: Int = 0
    var size: Int = 0
    var totalCount: Int = 0
    var rows: [AIGirlMessageItemModel] = [AIGirlMessageItemModel]()
}

struct AIGirlResMessageModel: HandyJSON {
    var current: AIGirlMessageLevelItemModel = AIGirlMessageLevelItemModel()
    var messageDataRsps: AIGirlMessageItemModel = AIGirlMessageItemModel()
}

struct AIGirlMessageItemModel: HandyJSON {
    var id: Int = 0
    var look: Bool = false
    var msg: String = ""
    var type: Int = 0
    var who: Int = 0 //谁接收 0用户 1女友
    var coin: Int = 0 //需要花费的金币
    var vip: Bool = false
    var downloadIsVip: Bool = false
    var downloadCoin: Int = 0
    var photoId: Int = 0
}

struct AIGirlMessageLevelItemModel: HandyJSON {
    var gtNum: Int = 0 //本级缺口
    var level: Int = 0 //本级经验值
    var levelName: String = "" //上一级名字
    var levelWelcome: String = "" //下一级名字
}

struct AIGirlMessageLevelModel: HandyJSON {
    var gap: Int = 0 //本级缺口
    var intimacy: Int = 0 //本级经验值
    var lastLevel: String = "" //上一级名字
    var nextLevel: String = "" //下一级名字
}
